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