@Test public void getPrimaryKeyClass() throws Exception { assertEquals(Integer.class, mPaymentMethodPrimaryKey.getPrimaryKeyClass()); }
@Test public void getPrimaryKeyValue() throws Exception { final int id = 55; when(mPaymentMethod.getId()).thenReturn(id); assertEquals(id, (int) mPaymentMethodPrimaryKey.getPrimaryKeyValue(mPaymentMethod)); }
@Test public void getPrimaryKeyColumn() throws Exception { assertEquals("id", mPaymentMethodPrimaryKey.getPrimaryKeyColumn()); }