public async Task It_formats_DateTime() { using var events = _kernel.KernelEvents.ToSubscribedList(); await _kernel.SubmitCodeAsync("DateTime.Now"); AssertThatClockWasRendered(); }