@Test public void create() { }
@Transactional public Receiver create(Receiver receiver) { return receiverRepository.save(receiver); }
ReceiverService { @Transactional public Receiver create(Receiver receiver) { return receiverRepository.save(receiver); } }
ReceiverService { @Transactional public Receiver create(Receiver receiver) { return receiverRepository.save(receiver); } @Builder  ReceiverService(ReceiverRepository receiverRepository); }
ReceiverService { @Transactional public Receiver create(Receiver receiver) { return receiverRepository.save(receiver); } @Builder  ReceiverService(ReceiverRepository receiverRepository); @Transactional(readOnly = true) Receiver findById(long id); @Transactional Receiver create(Receiver receiver); @Transactional Receiver updateAddress(long id, Address address); }
ReceiverService { @Transactional public Receiver create(Receiver receiver) { return receiverRepository.save(receiver); } @Builder  ReceiverService(ReceiverRepository receiverRepository); @Transactional(readOnly = true) Receiver findById(long id); @Transactional Receiver create(Receiver receiver); @Transactional Receiver updateAddress(long id, Address address);  }