@Test
public void findByIdShouldReturnProductDtoWhenIdExists() {
ProductDTO result = productService.findById(existingId);
Assertions.assertNotNull(result);
}
@Test
public void findByIdShouldThrowResourceNotFoundExceptionWhenIdDoesntExist() {
Assertions.assertThrows(ResourceNotFoundException.class, () -> {
productService.findById(nonExistingId);
});
}