 import XCTest
 import DeallocationChecker
 
-class UIUtilities<T: UIViewController> {
+class UIStack<T: UIViewController> {
 
     var rootWindow: UIWindow!
 

        XCTAssertEqual(leakedState, .leaked)
    }

    func testNotLeakedInsideNavigationController() {
        let expectation = self.expectation(description: "retained")

        var leakedState: DeallocationCheckerManager.LeakedState?


class DeallocationCheckerInNavigationControllerTests: XCTestCase {

    var uiStack: UIStack<UINavigationController>!
    private var navigationController: UINavigationController!

    override func setUp() {
        super.setUp()

        uiStack = UIStack()
        navigationController = UINavigationController(rootViewController: UIViewController())
        uiStack.setupTopLevelUI(withViewController: navigationController)
    }

    func testLeaked() {
        let expectation = self.expectation(description: "retained")

        var leakedState: DeallocationCheckerManager.LeakedState?
