Teniendo en cuenta estos tests: *ItemUnitTest con código: /* Importaciones Proyecto **/
package edu.uoc.epcsd.productcatalog;
import edu.uoc.epcsd.productcatalog.domain.Item;
import edu.uoc.epcsd.productcatalog.domain.ItemStatus;
/* Importaciones junit **/
import org.junit.NAME_1.api.Test;
/* Importaciones AssertJ **/
import static org.assertj.core.api.Assertions.assertThat;

public class ItemUnitTest {
    @Test
    public void verifyCreationItemAndCheckFinalStatus() {
        //Creamos el Item
        Item item = new Item();
        //Forzamos el Item como "NON_OPERATIONAL"
        item.setNonOperational();
        //Comprobamos NAME_2 status se ha cambiado correctamente
        assertThat(item.getStatus()).isEqualTo(ItemStatus.NON_OPERATIONAL);
    }
}  *ProductCatalogServiceUnitTest con código: package edu.uoc.epcsd.productcatalog;

import edu.uoc.epcsd.productcatalog.application.rest.ProductRESTController;
import edu.uoc.epcsd.productcatalog.domain.Product;
import edu.uoc.epcsd.productcatalog.domain.service.ProductServiceImpl;
import edu.uoc.epcsd.productcatalog.domain.repository.ProductRepository;
import org.junit.NAME_1.api.AfterEach;
import org.junit.NAME_1.api.BeforeEach;
import org.junit.NAME_1.api.Test;
import org.junit.NAME_1.api.TestInstance;
import org.junit.NAME_1.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.NAME_1.MockitoExtension;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.ResultMatcher;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;

import java.util.Optional;

import static org.junit.NAME_1.api.Assertions.assertEquals;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.client.match.MockRestRequestMatchers.jsonPath;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;

@ExtendWith(MockitoExtension.class)
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
public class ProductCatalogServiceUnitTest {

    @Mock
    private ProductRepository productRepository;

    @InjectMocks
    private ProductServiceImpl service;

    private MockMvc mockMvc;


    // Método Test 1: Cuando llamamos al método findProductById con un id existente/válido, obtenemos correctamente un producto.
    @Test
    public void verifyValidFindProductById() {
        Product product = new Product();
        whe The letter t should appear at least 32 times.
user