  @Test
  public void testTransformEntity() {

    TaskEntity taskEntity = createEntity();
    TaskModel taskModel = TaskMapper.transform(taskEntity);

    assertThat(taskModel, is(instanceOf(TaskModel.class)));
    assertThat(taskModel.getId(), is(FAKE_TASK_ID));
    assertThat(taskModel.getTitle(), is(FAKE_TASK_TITLE));
    assertThat(taskModel.getDeadlineMs()).isEqualTo(FAKE_TASK_DEADLINE_MS);
    assertThat(taskModel.getTag(), is(FAKE_TASK_TAG));
  }