TestCentric
  • TestCentric Runner
  • TC-Lite Framework
  • Contributing
  • Blog
  • GitHub
TC-Lite Framework Features Assertions Classic Model
Assert.AreNotSame
TC-Lite Framework
Overview
Concepts
Microtests
Test Cases
Test Fixtures
Getting Started
Creating a Test Project
Writing Tests
Running Your Tests
Command-Line Options
Features
Assertions
Classic Model
Constraint Model
Attributes
CategoryAttribute
CombinatorialAttribute
DefaultToleranceAttribute
DescriptionAttribute
IgnoreAttribute
PropertyAttribute
RandomAttribute
RangeAttribute
TestCaseAttribute
TestCaseDataAttribute
TestCaseFactoryAttribute
TestFixtureAttribute
TestFixtureSourceAttribute
ValuesAttribute
ValueSourceAttribute
Constraints
Parallel Test Execution
Theories
TC-Lite API
License

Assert.AreNotSame tests that the two arguments do not reference the same object. The arguments must be reference Types.

Assert.AreNotSame<T>(T expected, T actual,
    string message=null, params object[] args) where T : class;
Generated By Statiq