func TestFakerRuWithCallback(t *testing.T) { faker.SetLang("ru") faker.EnFallback(true) brand := faker.Brand() if brand == "" { t.Error("Fake call for name with no samples with callback should not return blank string") } }
func TestFakerRuWithoutCallback(t *testing.T) { faker.SetLang("ru") faker.EnFallback(false) brand := faker.Brand() if brand != "" { t.Error("Fake call with no samples should return blank string") } }