use of org.jboss.tools.openshift.common.core.connection.IConnectionFactory in project jbosstools-openshift by jbosstools.
the class ConnectionsFactoryTest method getFactoryShouldReturnFactoryForGivenHost.
@Test
public void getFactoryShouldReturnFactoryForGivenHost() throws IOException {
// pre-condition
// operation
IConnectionFactory aConnectionFactory = connectionsFactory.getFactory(A_CONNECTION_SERVER);
// verification
assertThat(aConnectionFactory).isNotNull();
assertThat(aConnectionFactory.getDefaultHost()).isEqualTo(A_CONNECTION_SERVER);
}
Aggregations