public void RelayCommandExecuteWithParameter()
 {
     XLabs.RelayCommand <string> rc = new XLabs.RelayCommand <string>((s) => RelayCommandExecuteNoParameterResult = s, (s) => true);
     rc.CanExecute("TestSat");
     rc.Execute("TestSat");
     Assert.AreEqual("TestSat", RelayCommandExecuteNoParameterResult);
 }
		public void RelayCommandExecuteWithParameter ()
		{
			XLabs.RelayCommand<string> rc = new XLabs.RelayCommand<string>((s)=>RelayCommandExecuteNoParameterResult = s,(s)=>true);
			rc.CanExecute("TestSat");
			rc.Execute ("TestSat");
			Assert.AreEqual("TestSat",RelayCommandExecuteNoParameterResult);
		}
 public void RelayCommandCanExecute()
 {
     XLabs.RelayCommand <string> rc = new XLabs.RelayCommand <string>((s) => System.Diagnostics.Debug.WriteLine("test"), (s) => true);
     Assert.IsTrue(rc.CanExecute(null));
 }
		public void RelayCommandCanExecute ()
		{
			XLabs.RelayCommand<string> rc = new XLabs.RelayCommand<string>((s)=>System.Diagnostics.Debug.WriteLine("test"),(s)=>true);
			Assert.IsTrue(rc.CanExecute(null));
		}