public void GetVersion_ReturnsVersionFromProvider() { var version = 1; provider.Setup(x => x.GetVersion()).Returns(version); int result = migrator.GetVersion(); result.Should().Be(version); }