_fail_fail) {     //Arrange     CGatewayMocks mocks;      GATEWAY_HANDLE gateway = Gateway_Create(NULL);      mocks.ResetAllCalls();      STRICT_EXPECTED_CALL(mocks, json_parse_string(IGNORED_PTR_ARG))         .IgnoreAllArguments();     STRICT_EXPECTED_CALL(mocks, json_value_free(IGNORED_PTR_ARG))         .IgnoreArgument(0);     STRICT_EXPECTED_CALL(mocks, gballoc_malloc(sizeof(GATEWAY_PROPERTIES)));      STRICT_EXPECTED_CALL(mocks, json_value_get_object(IGNORED_PTR_ARG))         .IgnoreAllArguments()         .SetFailReturn((JSON_Object*)NULL);      STRICT_EXPECTED_CALL(mocks, gballoc_free(IGNORED_PTR_ARG))         .IgnoreAllArguments();      //Act     int result = Gateway_UpdateFromJson(gateway, (const char*)"AnyThing");      //Assert     ASSERT_ARE_NOT_EQUAL(int, 0, result); }  