@Test
  public void testIsRevertable() throws Exception {
    assertTrue(RepositoryType.MAINT.isRevertable());
    assertTrue(RepositoryType.PATCH.isRevertable());
    assertFalse(RepositoryType.STANDARD.isRevertable());
  }
Tests that the repository types support the revertable flag.

@throws Exception
ambari-server-spi/src/test/java/org/apache/ambari/spi/upgrade/RepositoryTypeTest.java