File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
src/test/java/io/cryptolens Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ package io .cryptolens ;
2+
3+ import io .cryptolens .methods .Helpers ;
4+ import io .cryptolens .models .LicenseKey ;
5+ import junit .framework .Test ;
6+ import junit .framework .TestCase ;
7+ import junit .framework .TestSuite ;
8+
9+ /**
10+ * Unit test for simple App.
11+ */
12+ public class HelpersTest
13+ extends TestCase
14+ {
15+ /**
16+ * Create the test case
17+ *
18+ * @param testName name of the test case
19+ */
20+ public HelpersTest (String testName )
21+ {
22+ super ( testName );
23+ }
24+
25+ /**
26+ * @return the suite of tests being tested
27+ */
28+ public static Test suite ()
29+ {
30+ return new TestSuite ( HelpersTest .class );
31+ }
32+
33+ /**
34+ * Rigourous Test :-)
35+ */
36+ public void testApp ()
37+ {
38+ LicenseKey license = new LicenseKey ();
39+ license .Notes = "[\" test\" ]" ;
40+
41+ assertTrue (Helpers .HasFeature (license , "test" ));
42+ }
43+ }
You can’t perform that action at this time.
0 commit comments