@Test
public void shouldPutThrowException() {

  final ContextStorage<Context> contextStorage = new UnmodifiableContextStorage(
      EmptyContext.getInstance());
  try {
    contextStorage.put(EmptyContext.getInstance());
    fail("Should throw UnsupportedOperationException");
  } catch (UnsupportedOperationException e) {
    // then
  }
}