public void Test_PropertiesWithout_Fails() { var tested = new FizBar { Bar = "Bar", Fiz = "Fiz" }; var expected = new { Bar = "Bar2", Fiz = "Fiz2" }; tested.Expect().PropertiesWithout(x => x.Fiz).Eq(expected); }
public void Test_Properties_Fails() { var tested = new FizBar { Bar = "Bar", Fiz = string.Empty }; var expected = new { Bar = "Bar2", Fiz = string.Empty }; tested.Expect().Properties().Eq(expected); }