_Failure) {     //Arrange     CGatewayMocks mocks;      STRICT_EXPECTED_CALL(mocks, ModuleLoader_Initialize());     STRICT_EXPECTED_CALL(mocks, ModuleLoader_Destroy());     STRICT_EXPECTED_CALL(mocks, json_parse_file(DUMMY_JSON_PATH));     STRICT_EXPECTED_CALL(mocks, json_value_free(IGNORED_PTR_ARG))         .IgnoreArgument(0);     STRICT_EXPECTED_CALL(mocks, gballoc_malloc(sizeof(GATEWAY_PROPERTIES)))         .SetFailReturn((void*)NULL);       //Act     GATEWAY_HANDLE gateway = Gateway_CreateFromJson(DUMMY_JSON_PATH);      //Assert     ASSERT_IS_NULL(gateway);     mocks.AssertActualAndExpectedCalls();  }  