use of com.buschmais.jqassistant.core.plugin.impl.ScopePluginRepositoryImpl in project jqa-core-framework by buschmais.
the class ScopePluginRepositoryTest method scopes.
@Test
public void scopes() throws PluginRepositoryException {
PluginConfigurationReader pluginConfigurationReader = new PluginConfigurationReaderImpl();
ScopePluginRepository repository = new ScopePluginRepositoryImpl(pluginConfigurationReader);
assertThat(repository.getScope("test:foo"), Matchers.<Scope>equalTo(TestScope.FOO));
assertThat(repository.getScope("Test:foo"), Matchers.<Scope>equalTo(TestScope.FOO));
assertThat(repository.getScope("test:Foo"), Matchers.<Scope>equalTo(TestScope.FOO));
}
Aggregations