use of org.eclipse.winery.repository.configuration.FileBasedRepositoryConfiguration in project winery by eclipse.
the class EnvironmentTest method environmentProvidesDataFromMinimalWineryProperties.
@Test
public void environmentProvidesDataFromMinimalWineryProperties() throws Exception {
final Optional<FileBasedRepositoryConfiguration> filebasedRepositoryConfiguration = Environment.getFilebasedRepositoryConfiguration();
Assert.assertTrue(filebasedRepositoryConfiguration.isPresent());
final Path repositoryPath = filebasedRepositoryConfiguration.get().getRepositoryPath().get();
Assert.assertEquals(Paths.get("/tmp/winery-repository"), repositoryPath);
}
Aggregations