public void ValidCommand_DoNotThrowsException()
        {
            var stubCommand = GetStubValidCommand();

            ExtendedAssert.NotThrowsAnyExceptions(() => addEngineCommandValidator.Validate(stubCommand));
        }
        public void ValidCommand_NotThrowsAnyException()
        {
            var stubCommand = GetValidUpdateModelCommand();

            ExtendedAssert.NotThrowsAnyExceptions(() => updateModelValidator.Validate(stubCommand));
        }
        public void ValidCommand_NotThrowsAnytExceptions()
        {
            var stubCommand = GetValidDeleteVehicleCommand();

            ExtendedAssert.NotThrowsAnyExceptions(() => deleteVehicleValidator.Validate(stubCommand));
        }
Пример #4
0
        public void ValidCommand_NotThrowsAnyException()
        {
            var stubCommand = GetValidAddManufacturerCommand();

            ExtendedAssert.NotThrowsAnyExceptions(() => addManufacturerValidator.Validate(stubCommand));
        }
        public void ValidCommand_NotThrowsAnyExceptions()
        {
            var stubCommand = GetValidUpdateConsumptionReportCommand();

            ExtendedAssert.NotThrowsAnyExceptions(() => updateConsumptionReportValidator.Validate(stubCommand));
        }
        public void ValidCommand_NotThrowsAnyExceptions()
        {
            var stubCommand = GetValidCalculateFuelConsumptionCommand();

            ExtendedAssert.NotThrowsAnyExceptions(() => calculateFuelConsumptionValidator.Validate(stubCommand));
        }