  @Test(expected = IllegalArgumentException.class)
  public void testAttributeHavingParameter() throws JMException {

    mbeanInfoAssembler.getMBeanInfo(new BadAttributeGetterHavinParameter(), null, "someName");
  }