public void ShouldThrowIfApplicationFileAndGitConfigurationDoesNotExist([Frozen]Mock<IFileSystem> fileSystem, [Frozen]Mock<IGitRepositoryConfigurer> repositoryConfigurer, ApplicationConfiguration applicationConfiguration)
{
fileSystem.Setup(x => x.OpenRead(It.IsAny<string>())).Throws<FileNotFoundException>();
repositoryConfigurer.Setup(x => x.GetApplicationId()).Throws<RepositoryConfigurationException>();
var exception = Assert.Throws<ApplicationConfigurationException>(() => applicationConfiguration.GetApplicationId());
Assert.Equal("Application is not configured in this directory. Configure it by creating (\"create\") an application or by linking (\"link\") an existing application.", exception.Message);
}