using Rhetos.TestCommon; public class MyTest { private readonly RhetosTestContainer container; public MyTest() { container = new RhetosTestContainer(); // Create a new test container container.Start(); // Start the container } [Fact] public void MyTest1() { // Perform test logic against the test environment } public void Dispose() { container.Dispose(); // Close the container } }In this example, we create a new instance of the `RhetosTestContainer` class and start it, then run a test against the test environment. Finally, we dispose of the container. The RhetosTestContainer utility is part of the Rhetos framework, and can be found in the `Rhetos.TestCommon` package library.