public void MockDependecyAndDontCareAboutMock()
        {
            // Arrange
            var mock = new Mock <IDoSomething>();
            var sut  = new SomeComponent(mock.Object);

            // Act
            var actual = sut.DoSomething();

            // Assert
            actual.Should().Be(42);
        }
        public void MockDependecyAndDoCareAboutMock()
        {
            // Arrange
            var mock = new Mock <IDoSomething>();

            mock.Setup(x => x.DoSomething(42)).Returns(1337);

            var sut = new SomeComponent(mock.Object);

            // Act
            var actual = sut.DoSomething();

            // Assert
            actual.Should().Be(42);
            mock.Verify(x => x.DoSomething(42));
        }