Beispiel #1
0
        public void Constructor_WhenAllParametersAreValid_ShouldReturnInstance()
        {
            // Arrange
            var widgetService = this.widgetServiceMock.Object;

            // Act
            var result = new WidgetsController(widgetService);

            // Assert
            result.Should().NotBeNull().And.BeOfType <WidgetsController>();
        }