Answers for "Read File and Resource in JUnit Test into Stream"

0

Read File and Resource in JUnit Test into Stream

    @Test
    public void testReadAsStream2() throws IOException{
        InputStream is = this.getClass().getResourceAsStream("/data01/users.csv");
        assertNotNull(is);
    }
Posted by: Guest on November-14-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language