summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLServiceUpdateReasonSpec.m
blob: a66d2df97e731e8a9cea78e801918bd525b60c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
//  SDLServiceUpdateReasonSpec.m
//  SmartDeviceLinkTests
//
//  Created by Nicole on 1/30/19.
//  Copyright © 2019 smartdevicelink. All rights reserved.
//

#import <Quick/Quick.h>
#import <Nimble/Nimble.h>

#import "SDLServiceUpdateReason.h"

QuickSpecBegin(SDLServiceUpdateReasonSpec)

describe(@"Individual Enum Value Tests", ^{
    it(@"Should match internal values", ^{
        expect(SDLServiceUpdatePublished).to(equal(@"PUBLISHED"));
        expect(SDLServiceUpdateRemoved).to(equal(@"REMOVED"));
        expect(SDLServiceUpdateActivated).to(equal(@"ACTIVATED"));
        expect(SDLServiceUpdateDeactivated).to(equal(@"DEACTIVATED"));
        expect(SDLServiceUpdateManifestUpdate).to(equal(@"MANIFEST_UPDATE"));
    });
});

QuickSpecEnd