@Test
public void build() throws Exception {

    final PaymentMethod paymentMethod = new PaymentMethodBuilderFactory()
            .setId(ID)
            .setUuid(PM_UUID)
            .setMethod(METHOD)
            .setSyncState(mGetSyncState)
            .setCustomOrderId(CUSTOM_ORDER)
            .build();
    final PaymentMethod actual = mPaymentMethodDatabaseAdapter.build(mPaymentMethod, ID, PM_UUID, mock(DatabaseOperationMetadata.class));
    assertEquals(paymentMethod, actual);
}