File tree Expand file tree Collapse file tree
contentstack/src/test/java/com/contentstack/sdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package com .contentstack .sdk ;
2+
3+ import org .junit .Test ;
4+
5+ import static org .junit .Assert .assertEquals ;
6+ import static org .junit .Assert .assertNotNull ;
7+
8+ public class SDKControllerTest {
9+
10+ @ Test
11+ public void testConstructorCoverage () {
12+ SDKController controller = new SDKController ();
13+ assertNotNull (controller );
14+ }
15+
16+ @ Test
17+ public void testConstantsValues () {
18+ assertEquals ("getQueryEntries" , SDKController .GET_QUERY_ENTRIES );
19+ assertEquals ("getSingleQueryEntries" , SDKController .SINGLE_QUERY_ENTRIES );
20+ assertEquals ("getEntry" , SDKController .GET_ENTRY );
21+ assertEquals ("getAllAssets" , SDKController .GET_ALL_ASSETS );
22+ assertEquals ("getAssets" , SDKController .GET_ASSETS );
23+ assertEquals ("getSync" , SDKController .GET_SYNC );
24+ assertEquals ("getContentTypes" , SDKController .GET_CONTENT_TYPES );
25+ assertEquals ("getGlobalFields" , SDKController .GET_GLOBAL_FIELDS );
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments