@@ -0,0 +1,805 @@
+package cz.muni.fi.pa165.service;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.mockito.Mockito.*;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.InjectMocks;%0Aimport org.mockito.Mock;%0Aimport org.mockito.MockitoAnnotations;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0A%0Aimport cz.muni.fi.pa165.dao.LoanDao;%0Aimport cz.muni.fi.pa165.entity.Loan;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class LoanServiceTest %7B%0A%0A    @Mock%0A    LoanDao daoMock;%0A%0A    @InjectMocks%0A    LoanService service;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        MockitoAnnotations.initMocks(this);%0A    %7D%0A%0A    @Test%0A    public void testCreate() %7B%0A        Loan loan = new Loan();%0A        service.create(loan);%0A        verify(daoMock).create(loan);%0A    %7D%0A%0A%7D%0A

Add skeleton for LoanServiceTest