@Test
public void getTermByPosition() {

    initSampleTerms();
    when(installmentMock.getTerms()).thenReturn(sampleTerms);
    creditCardInstallment.setInstallment(installmentMock);
    creditCardInstallment.getTerms(BANK_BNI);
    assertEquals(12, creditCardInstallment.getTermByPosition(2));
}