@Test public void when_getting_the_content_lenght_of_the_file_it_should_the_expected_one() throws IOException { filer.store(new ByteArrayInputStream(fakeContent), filename); long actualLenght = filer.getContentLength(filename); assertThat(actualLenght).isEqualTo(rawContent.length); }