### Question:
MutableCacheColumnSegment extends CacheColumnSegment { public void refreshMetadata(SwiftMetaData metaData) { super.meta = metaData; } MutableCacheColumnSegment(IResourceLocation location, SwiftMetaData meta); void refreshMetadata(SwiftMetaData metaData);  }### Answer:
@Test public void test() { IResourceLocation location = Mockito.mock(IResourceLocation.class); SwiftMetaData meta = Mockito.mock(SwiftMetaData.class); MutableCacheColumnSegment segment = new MutableCacheColumnSegment(location, meta); Assert.assertEquals(segment.getMetaData(),meta); SwiftMetaData refreshedMeta = Mockito.mock(SwiftMetaData.class); segment.refreshMetadata(refreshedMeta); Assert.assertNotEquals(segment.getMetaData(),meta); Assert.assertEquals(segment.getMetaData(),refreshedMeta); }