public override bool Equals(object obj) { FixtureObject other = obj as FixtureObject; if (other == null) { return(false); } return(A == other.A && B == other.B); }
public void Create_should_bind_singleton_parameter() { var dict = new Dictionary <string, string> { { "a", "" }, { "b", "false" }, }; var method = typeof(FixtureTestDataBinderTests).GetMethod("FakeFixtureMethod"); var binder = FixtureTestDataBinder.Create(method, dict.Keys); var fob = new FixtureObject { A = "", B = "false" }; Assert.Equal(new object[] { fob }, binder.Bind(dict)); }
public void FakeFixtureMethod(FixtureObject fob) { }