@Before public void setUp() { client = mock(IClient.class); ModelNode node = ModelNode.fromJSONString(sample.getContentAsString()); pv = new PersistentVolume( node, client, ResourcePropertiesRegistry.getInstance().get(VERSION, ResourceKind.PERSISTENT_VOLUME)); }
@Before public void setUp() { IClient client = mock(IClient.class); ModelNode node = ModelNode.fromJSONString(Samples.V1_PROJECT_REQUEST.getContentAsString()); request = new OpenshiftProjectRequest( node, client, ResourcePropertiesRegistry.getInstance().get(VERSION, ResourceKind.PROJECT_REQUEST)); }