Exemplo n.º 1
0
        public void Ping_Connection_Refused_Fail()
        {
            ClamdClient failClamd = new ClamdClient("NO-SERVER", 3310);
            var         result    = failClamd.Ping();

            Assert.IsFalse(result);
        }
Exemplo n.º 2
0
        public void Ping_Success()
        {
            var result = clamd.Ping();

            Assert.IsTrue(result);
        }