@Override
    public boolean isAvailable(final String name) {
        final FaultItem faultItem = this.faultItemTable.get(name);
        if (faultItem != null) {
            return faultItem.isAvailable();
        }
        return true;
    }
@Test
    public void testIsAvailable() throws Exception {
        latencyFaultTolerance.updateFaultItem(brokerName, 3000, 50, true);
        assertThat(latencyFaultTolerance.isAvailable(brokerName)).isFalse();

        await().atMost(500, TimeUnit.MILLISECONDS).untilAsserted(new ThrowingRunnable() {
            @Override public void run() throws Throwable {
                assertThat(latencyFaultTolerance.isAvailable(brokerName)).isTrue();
            }
        });
    }