public void GetToy_ShouldThrow_Exception_When_Toy_Is_Null() { // arrange AntoninoDB db = new AntoninoDB(); // act db.GetToy(null); }
public void GetToy_Should_Return_TestToy() { var db = new AntoninoDB(); var test = new Toy { Name = TOY_NAME }; var toy = db.GetToy(test); Assert.IsNotNull(toy); }