public void DatabaseDeployer_DeployPerformance() { // Arrange this.databaseMigratorFactory.Setup(f => f.GetPerformanceMigrator(It.IsAny <string>())) .Returns(this.databaseMigrator.Object); // Act var results = databaseDeployer.DeployPerformance("primary-sql-server"); // Assert Assert.That(results.Success, Is.True); }