@Test (expected = InvalidArgumentException.class)
public void testSecurityLevel() throws InvalidArgumentException, IllegalAccessException, InstantiationException, ClassNotFoundException {

    CryptoPrimitives testCrypto = new CryptoPrimitives();
    testCrypto.setSecurityLevel(2001);
}