@Test
public void testCreateWithValidProxyPort() {

    final String flowId = flow.getFlowMetadata().getIdentifier();
    when(flowManager.getFlow(flowId)).thenReturn(Optional.of(flow));
    final VersionedRemoteProcessGroup requestConfig = new VersionedRemoteProcessGroup();
    requestConfig.setTargetUris("http://updated");
    requestConfig.setProxyPort(100);
    service.create(flowId, group1.getIdentifier(), requestConfig);
}