use of org.jboss.tools.openshift.internal.ui.models.ProjectWrapper in project jbosstools-openshift by jbosstools.
the class ProjectWrapperTest method initilize.
@Before
public void initilize() {
this.connection = mock(IOpenShiftConnection.class);
this.connectionWrapper = new ConnectionWrapper(mock(OpenshiftUIModel.class), connection);
this.project = mock(IProject.class);
when(project.getNamespaceName()).thenReturn("namespace");
this.projectWrapper = new ProjectWrapper(connectionWrapper, project);
WatchManager.getInstance()._getWatches().clear();
}
Aggregations