@Test
  public void testBasicFields() throws SifTranslationException {
    StudentLEARelationship slr = new StudentLEARelationship();

    slr.setStudentPersonalRefId("studentRefID");
    slr.setLEAInfoRefId("LEAInfoRefID");
    slr.setSchoolYear(Integer.valueOf(2001));

    Mockito.when(mockSifIdResolver.getSliGuid("studentRefID", null)).thenReturn("SLI_StudentGUID");
    Mockito.when(mockSifIdResolver.getSliGuid("LEAInfoRefID", null)).thenReturn("SLI_SchoolGUID");
    Mockito.when(schoolYearConverter.convert(Integer.valueOf(2001))).thenReturn("2001");

    List<StudentSchoolAssociationEntity> result = translator.translate(slr, null);
    Assert.assertEquals(1, result.size());
    StudentSchoolAssociationEntity entity = result.get(0);
    Assert.assertEquals(
        "student Id is expected to be 'SLI_StudentGUID'", "SLI_StudentGUID", entity.getStudentId());
    Assert.assertEquals(
        "school Id is expected to be 'SLI_SchoolGUID'", "SLI_SchoolGUID", entity.getSchoolId());
    Assert.assertEquals("school yewar is expected to be '2001'", "2001", entity.getSchoolYear());
  }