use of org.sonatype.plexus.components.sec.dispatcher.SecDispatcher in project docker-maven-plugin by fabric8io.
the class AuthConfigFactoryTest method containerSetup.
@Before
public void containerSetup() throws ComponentLookupException {
final SecDispatcher secDispatcher = new MockSecDispatcher();
new Expectations() {
{
container.lookup(SecDispatcher.ROLE, "maven");
minTimes = 0;
result = secDispatcher;
}
};
factory = new AuthConfigFactory(container);
factory.setLog(log);
gsonBuilder = new GsonBuilder();
}
Aggregations