@Test
public void testBuildDN()
{

    String dn = RSAUtil.buildDN("GB", "SomeState", "SomeLocality", "MyOrg", "Basement", "testing.123");
    assertThat(dn, is(notNullValue()));
    assertThat(dn, is(equalTo("C=GB, ST=SomeState, L=SomeLocality, O=MyOrg, OU=Basement, CN=testing.123")));
}