Skip to content

Commit

Permalink
Hit that sweet, sweet 100% coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-hellings committed Sep 28, 2017
1 parent 13c2c89 commit ad9e6b6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/test/java/com/thehellings/config/ModeTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.thehellings.config;

import org.junit.Test;

import static org.junit.Assert.*;

public class ModeTest {
@Test
public void testTheThings() {
assertEquals(Mode.DEVELOPMENT, Mode.DEVELOPMENT);
assertArrayEquals(Mode.values(), Mode.values());
assertEquals(Mode.PRODUCTION, Mode.valueOf("PRODUCTION"));
}
}
14 changes: 14 additions & 0 deletions src/test/java/com/thehellings/http/VerbTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.thehellings.http;

import org.junit.Test;

import static org.junit.Assert.*;

public class VerbTest {
@Test
public void justDoTheTest() {
assertEquals(Verbs.CONNECT, Verbs.CONNECT);
assertArrayEquals(Verbs.values(), Verbs.values());
assertEquals(Verbs.valueOf("GET"), Verbs.GET);
}
}

0 comments on commit ad9e6b6

Please sign in to comment.