     }
     
     func testViewModifierInspectOnReceive() throws {
-        let sut = TestTestModifier(flag: false)
+        let sut = TestViewModifier(flag: false)
         let exp1 = sut.inspection.inspect { view in
             let text = try view.hStack().button(1).labelView().text().string()
             XCTAssertEqual(text, "false")

}

@available(iOS 13.0, macOS 10.15, tvOS 13.0, *)
private struct TestTestModifier: ViewModifier, Inspectable {
    
    @State private(set) var flag: Bool
    @EnvironmentObject var envState: ExternalState

    }
    
    func testViewModifierInspectAfter() throws {
        let sut = TestViewModifier(flag: false)
        let exp1 = sut.inspection.inspect { view in
            let text = try view.hStack().button(1).labelView().text().string()
            XCTAssertEqual(text, "false")
