public static void Test_Sign_Message_Verifies_After_Signing()
        {
            //Create the signing service
            RSAX509SigningService signer = new RSAX509SigningService(LoadTestCert());

            //act
            byte[] bytes = signer.SignMessage("hello");

            Assert.True(signer.isSigned("hello", bytes));
        }
        public static void Test_Sign_Message_Fails_After_Failed_Signing()
        {
            //Create the signing service
            RSAX509SigningService signer = new RSAX509SigningService(LoadTestCert());

            //act
            byte[] bytes = signer.SignMessage("derp");

            Assert.False(signer.isSigned("this should fail", bytes));
        }
        public static void Test_Sign_Message_Returns_Non_Null_Bytes()
        {
            //Create the signing service
            RSAX509SigningService signer = new RSAX509SigningService(LoadTestCert());

            //act
            byte[] bytes = signer.SignMessage("hello");

            //assert
            Assert.NotNull(bytes);
            Assert.True(bytes.Count() != 0);
            Assert.NotSame(bytes, Encoding.ASCII.GetBytes("hello"));
        }