@Test
public void testGetters() throws Exception {

    Channel channel = createTestChannel("channel1");
    User user = hfclient.getUserContext();
    CryptoSuite cryptoSuite = hfclient.getCryptoSuite();
    TransactionContext context = new TransactionContext(channel, user, cryptoSuite);
    // ensure getCryptoPrimitives returns what we passed in to the constructor
    CryptoSuite cryptoPrimitives = context.getCryptoPrimitives();
    Assert.assertEquals(cryptoSuite, cryptoPrimitives);
}