@Test
void shouldReturnAndOrder_whenPetIsFound_andPetStatusIsAdequate() {

	// GIVEN
	BDDMockito.given(idGenerator.generate()).willReturn(ID);
	var pet = new Pet();
	pet.setStatus(PetStatus.AVAILABLE);
	BDDMockito.given(petRepository.findById(PET_ID)).willReturn(Optional.of(pet));
	BDDMockito.given(orderRepository.save(Mockito.any(Order.class)))
			  .willAnswer(invocation -> invocation.getArgument(0));
	// WHEN
	var order = petOrderer.order(PET_ID);
	// THEN
	Assertions.assertNotNull(order);
	Assertions.assertEquals(ID, order.getOrderId());
	Assertions.assertEquals(OrderStatus.PLACED, order.getStatus());
}