summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/DevAPISpecs
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2017-01-19 11:41:53 -0800
committerMuller, Alexander (A.) <amulle19@ford.com>2017-01-19 11:41:53 -0800
commit6d085f3d5a25ca5d774b56ff9262855983cb9215 (patch)
tree99f32be29198826e5917da0ffdd723cc3ba56ba9 /SmartDeviceLinkTests/DevAPISpecs
parent1c280c1c21998f4781fca445a034e3d6c7e443ad (diff)
downloadsdl_ios-6d085f3d5a25ca5d774b56ff9262855983cb9215.tar.gz
Added a ParameterAssert instead of throwing an exception, along with returning a handler with an error.
Diffstat (limited to 'SmartDeviceLinkTests/DevAPISpecs')
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m
index d98c6269e..91320c955 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLifecycleManagerSpec.m
@@ -268,7 +268,7 @@ describe(@"a lifecycle manager", ^{
it(@"cannot send a nil RPC", ^{
SDLShow *testShow = nil;
- expectAction(^{ [testManager sendRequest:testShow]; }).to(raiseException().named(NSInvalidArgumentException));
+ expectAction(^{ [testManager sendRequest:testShow]; }).to(raiseException().named(NSInternalInconsistencyException));
});
describe(@"stopping the manager", ^{