//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @AfterEach void tearDown() internal virtual void TearDown() { _map.close(); assertEquals(0, _memoryTracker.usedDirectMemory(), "Leaking memory"); _blockAllocator.release(); }