//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldListAllIndexes() public virtual void ShouldListAllIndexes() { // Given CreateIndex(Label1, PropertyKey); CreateIndex(Label2, PropertyKey); // When ISet <CapableIndexDescriptor> indexes = asSet(StorageReader.indexesGetAll()); // Then //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: java.util.Set<?> expectedIndexes = asSet(indexDescriptor(label1, propertyKey), indexDescriptor(label2, propertyKey)); ISet <object> expectedIndexes = asSet(IndexDescriptor(Label1, PropertyKey), IndexDescriptor(Label2, PropertyKey)); assertEquals(expectedIndexes, indexes); }