Exemplo n.º 1
0
        public void TestOk()
        {
            var result = ServiceStatus.Ok();

            Check.That(result.Name).Equals(Assembly.GetEntryAssembly()?.GetName().Name);
            Check.That(result.Version).Equals(Assembly.GetEntryAssembly()?.GetName().Version?.ToString());
            Check.That(result.Status).Equals("OK");
        }