@Test
public void deleteByNameNotFound() {

	thrown.expect(ValidationException.class);
	thrown.expectMessage("Category with name \"not-present\" not found.");
	categoriesService.deleteByName("not-present");
}