@Test
public void testIsDocumentExtensionPermittedWhenFileNameHasNoExtension() {

	MultipartFile file = mock(MultipartFile.class);
	when(file.getOriginalFilename()).thenReturn("hello");
	assertFalse(sut.isDocumentExtensionPermitted(file));
}