@Test
public void test_createMetadata_successfully()  {

    String metadataJson = "{\"path\":\"metadata/awsrole/role1\"}";
    String token = "7QPMPIGiyDFlJkrK3jFykUqa";
    Response response = getMockResponse(HttpStatus.NO_CONTENT, true, "");
    when(reqProcessor.process("/write",metadataJson,token)).thenReturn(response);
    boolean status = ControllerUtil.createMetadata(metadataJson, token);
    assertEquals(true, status);
}