public void SpTestSprocActorShowAllWhenAllIsTestName() { // Arrange var prereq = new SpTestSprocArranger(_objectTest); // Act var result = prereq.Execute<List<SpTestSprocReturn>>("all"); // Assert Assert.AreEqual(3, result.Count); }
public void SpTestSprocActorWhereStartsWithFoo() { // Arrange var arranger = new SpTestSprocArranger(new SpFooTestSprocArranger(_objectTest)); // Act var result = arranger.Execute<List<SpTestSprocReturn>>("foofoo"); // Assert Assert.AreEqual(1, result.Count); Assert.AreEqual("StaticVar", result[0].Name); }
public void SpTestSprocActorShowOnlyWhereTestNamePassedIn() { // Arrange var prereq = new SpTestSprocArranger(_objectTest); // Act var result = prereq.Execute<List<SpTestSprocReturn>>("Test1"); // Assert Assert.AreEqual(1, result.Count); Assert.AreEqual("Test1", result[0].Name); }