public void TestCreation() { var sessionId = 0; var storage = new AssetStorage(); var source = new TestAssetSource(storage, sessionId); var stored = storage.TryGetAssetSource(sessionId); Assert.Equal(source, stored); storage.UnregisterAssetSource(sessionId); var none = storage.TryGetAssetSource(sessionId); Assert.Null(none); }