@Test
public void test_constructor_with_params() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {

    SomeModel byHandModel = new SomeModel(1);
    Constructor constructor = Reflections.constructor(SomeModel.class, int.class);
    SomeModel autoModel = (SomeModel) constructor.newInstance(1);
    assertEquals(byHandModel, autoModel);
    // Check the caching and clashing with other constructors
    Reflections.constructor(SomeModel.class);
    Constructor constructor2 = Reflections.constructor(SomeModel.class, int.class);
    assertEquals(constructor, constructor2);
}