private static void EnsureServer() { try { _ = DIContext.Obtain <ITRexGridFactory>().Grid(StorageMutability.Mutable); } catch { TAGClientServer = TAGClientServer ?? new MutableClientServer(ServerRoles.TAG_PROCESSING_NODE_CLIENT); _ = DIContext.Obtain <ITRexGridFactory>().Grid(StorageMutability.Mutable); } }
public void Test_MutableClientServer_Creation() { var server = new MutableClientServer("UnitTests"); server.Should().NotBeNull(); }