@Test
public void shouldReturnNullValueGivenANullPermissionEntity() throws Exception {

  PermissionEntity permissionEntity = null;
  Permission permission = permissionEntityDataMapper.transform(permissionEntity);
  assertThat(permission, nullValue());
}