public void OnGameInitialize_Fact() { _callback = false; var logger = A.Fake <LogWrapper>(); var initAtom = new DictionaryAtom(); initAtom.Add(new StringAtom("Logger"), new ObjectAtom(logger)); var booleanSet = new BooleanSet("Fact", Callback); booleanSet.AddItem("FakeSingleton"); var args = new RealmEventArgs(new EventTable { { "BooleanSet", booleanSet }, { "InitAtom", initAtom } }); var singleton = new FakeSingleton(); singleton.Instance_OnGameInitialize(args); _callback.Should().BeTrue(); //Assert.That(_callback, Is.True.After(250)); }