public void TestKo() { var result = ServiceStatus.Ko(); Check.That(result.Name).Equals(Assembly.GetEntryAssembly()?.GetName().Name); Check.That(result.Version).Equals(Assembly.GetEntryAssembly()?.GetName().Version?.ToString()); Check.That(result.Status).Equals("KO"); }