*/
@Test
public void testGetObjectProperties() {
//GIVEN
StorageOptionsController controller = new StorageOptionsController();
RemoveOldVersionTrigger trigger = new RemoveOldVersionTrigger();
final int packageCount = 100500;
trigger.setMaxPackageCount(packageCount);
//WHEN
ArrayList<Property> result = controller.getObjectProperties(trigger);
//THEN
assertThat(result.size(), is(equalTo(1)));
assertThat(result.get(0).getName(), is(equalTo("maxPackageCount")));