summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLMediaServiceManifestSpec.m
blob: bdd8dab4be436adfce698a92aefa9aa770d0bcb1 (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
27
28
29
30
31
32
33
//
//  SDLMediaServiceManifestSpec.m
//  SmartDeviceLinkTests
//
//  Created by Nicole on 2/11/19.
//  Copyright © 2019 smartdevicelink. All rights reserved.
//

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

#import "SDLMediaServiceManifest.h"

QuickSpecBegin(SDLMediaServiceManifestSpec)

describe(@"Getter/Setter Tests", ^{
    it(@"Should set and get correctly", ^{
        SDLMediaServiceManifest *testStruct = [[SDLMediaServiceManifest alloc] init];

        // no parameters to test
        expect(testStruct).toNot(beNil());
    });

    it(@"Should get correctly when initialized with a dictionary", ^{
        NSDictionary *dict = @{};
        SDLMediaServiceManifest *testStruct = [[SDLMediaServiceManifest alloc] initWithDictionary:dict];

        // no parameters to test
        expect(testStruct).toNot(beNil());
    });
});

QuickSpecEnd