Commits

Anonymous committed 84fd7c6

nullpo

Comments (0)

Files changed (1)

src/test/java/SOutputCharactarizationTest.java

         };
         assertThat(result, is(expected));
     }
+    
+    @Test(expected = NullPointerException.class)
+    public void displayContents‚đŒÄ‚ń‚Ĺ‚Ý‚é_null‚ž‚Ć‚Ę‚é‚Ű() throws Exception {
+        SOutput sOutput = new SOutput("‹ž‘ň");
+        String expected = null;
+        assertThat(sOutput.displayContents(null), is(expected));
+    }
 
 }