public void TestPicturePostfix() { uut = new PicturePostfix(); TestImage ti = new TestImage { PinId = "testId" }; Assert.That(uut.Generate(ti), Is.EqualTo("testId")); }
public void TestEventModel() { uut = new EventPostFix(); EventModel em = new EventModel { Pin = "testPin" }; Assert.That(uut.Generate(em), Is.EqualTo("testPin")); }
public void TestGuestPostfix() { uut = new GuestPostfix(); Guest g = new Guest { Username = "******" }; Assert.That(uut.Generate(g), Is.EqualTo("testUser")); }