示例#1
0
        public void GetToy_ShouldThrow_Exception_When_Toy_Is_Null()
        {
            // arrange
            AntoninoDB db = new AntoninoDB();

            // act
            db.GetToy(null);
        }
示例#2
0
        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);
        }