Esempio n. 1
0
        public void StateTest()
        {
            // Arrange
            var instance = new DriverModule();

            // Assert
            Assert.Fail("No expectation defined");
        }
Esempio n. 2
0
        public void Driver_Display()
        {
            // Arrange
            var instance = new DriverModule();
            ((NancyModule)(instance)).ModelValidationResult = ModelValidationResult.Valid;

            // Assert
            Assert.IsNotNull(((NancyModule)(instance)).Get);
        }
Esempio n. 3
0
        public void Editing_Driver_NotEqualTo_Null()
        {
            // Arrange
            var instance = new DriverModule();
            ((NancyModule)(instance)).ModelValidationResult = ModelValidationResult.Valid;

            // Assert
            Assert.IsNotNull(((NancyModule)(instance)).Post);
        }
Esempio n. 4
0
        public void StateTest_Get_Assert_NotEqualTo_Null()
        {
            // Arrange
            var instance = new DriverModule();
            ((NancyModule)(instance)).ModelValidationResult = ModelValidationResult.Valid;
            ((NancyModule)(instance)).Response = null;

            // Assert
            Assert.IsNotNull(((NancyModule)(instance)).Get);
        }
Esempio n. 5
0
 public void StateTest_Get_Has_Members_Expectations()
 {
     // Arrange
     var instance = new DriverModule();
     ((NancyModule)(instance)).ModelBinderLocator = null;
 }