    @Test
    public void deleteTest() {


        Date currentServiceDate = currentServiceDate();

        Assignment retrievedAssignment = _dao.getAssignment("blockId", currentServiceDate);

        assertNull(retrievedAssignment);

        Assignment assignment = new Assignment("blockId", "vehicleId", currentServiceDate);

        _dao.save(assignment);

        retrievedAssignment = _dao.getAssignment("blockId", currentServiceDate);

        assertNotNull(retrievedAssignment);

        _dao.delete(retrievedAssignment);

        retrievedAssignment = _dao.getAssignment("blockId", currentServiceDate);

        assertNull(retrievedAssignment);
    }