summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-05-17 10:00:12 -0400
committerJoel Fischer <joeljfischer@gmail.com>2019-05-17 10:00:12 -0400
commit58987c35a8151e577a3cd0fac9193c3ffdab9d83 (patch)
treef954fa6692376b5c70c495def360941e0e4a44f7
parent8464d356a5cc404068101dc4b116a9ae9ad12a8b (diff)
downloadsdl_ios-bugfix/issue_1204_hide_rpc_initializers.tar.gz
-rw-r--r--SmartDeviceLink/SDLRPCMessage.h2
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/SuperclassSpecs/SDLRPCMessageSpec.m3
2 files changed, 3 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLRPCMessage.h b/SmartDeviceLink/SDLRPCMessage.h
index 1f2ad0e04..436ebcdfa 100644
--- a/SmartDeviceLink/SDLRPCMessage.h
+++ b/SmartDeviceLink/SDLRPCMessage.h
@@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (strong, nonatomic, readonly) NSString *name;
/**
- The JSONRPC parameters
+ The JSON-RPC parameters
*/
@property (strong, nonatomic, readonly) NSMutableDictionary<NSString *, id> *parameters;
diff --git a/SmartDeviceLinkTests/RPCSpecs/SuperclassSpecs/SDLRPCMessageSpec.m b/SmartDeviceLinkTests/RPCSpecs/SuperclassSpecs/SDLRPCMessageSpec.m
index 415c43bcc..c6ebbe9dc 100644
--- a/SmartDeviceLinkTests/RPCSpecs/SuperclassSpecs/SDLRPCMessageSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/SuperclassSpecs/SDLRPCMessageSpec.m
@@ -44,8 +44,9 @@ describe(@"Parameter Tests", ^ {
SDLRPCMessage* testMessage = [[SDLRPCMessage alloc] initWithName:@""];
[testMessage setParameters:@"ADogAPanicInAPagoda" value:@"adogaPAnIcinaPAgoDA"];
+ expect([testMessage getParameters:@"ADogAPanicInAPagoda"]).to(equal(@"adogaPAnIcinaPAgoDA"));
#pragma clang diagnostic pop
-
+
expect(testMessage.parameters[@"ADogAPanicInAPagoda"]).to(equal(@"adogaPAnIcinaPAgoDA"));
});