internal static void Issue052_RandomizerPostCustomizable(Fake <CreateHint> hint) { IRandomizer randomizer = new Randomizer(Tools.Faker, Tools.Gen, Limiter.Dozen, false); Data testItem = new() { Item = "Sample" }; hint.Setup( d => d.TryCreate(typeof(Data), Arg.Any <RandomizerChainer>()), Behavior.Returns((true, (object)testItem), Times.Once)); randomizer.AddHint(hint.Dummy); randomizer.Create <Data>().Assert().ReferenceEqual(testItem); hint.VerifyAll(); }