public void Create_CreatesSomething3() { //arrange Something3Factory something3Factory = new Something3Factory(); //act var actual = something3Factory.Create(); //assert Assert.IsInstanceOfType(actual, typeof(Core.Model.Something3)); }
public void Create_CreatesSomething3WithFullname() { //arrange Something3Factory something3Factory = new Something3Factory(); var expected = "Fred Bloggs"; //act var actual = something3Factory.Create(expected); //assert Assert.IsInstanceOfType(actual, typeof(Core.Model.Something3)); Assert.AreEqual(actual.FullName, expected); }