IsSatisfiedBy() public method

public IsSatisfiedBy ( System.Reference reference ) : bool
reference System.Reference
return bool
            public void It_should_not_be_satisfied()
            {
                var reference = new BinaryReference
                {
                    Name = "system",
                    Path = null,
                    FullPath = null
                };

                var fileSystemMock = new MockFileSystem(new Dictionary<string, MockFileData>());
                var check = new ReferenceExistsCheck(fileSystemMock);

                Assert.IsFalse(check.IsSatisfiedBy(reference));
            }
            public void It_should_be_satisfied()
            {
                var reference = new BinaryReference
                {
                    Name = "test",
                    Path = Path.Combine("..", "test.dll"),
                    FullPath = Path.GetFullPath(Path.Combine("root", "test.dll"))
                };

                var fileSystemMock = new MockFileSystem(new Dictionary<string, MockFileData>
                {
                    {Path.GetFullPath(Path.Combine("root", "test.dll")), new MockFileData(String.Empty)}
                });

                var check = new ReferenceExistsCheck(fileSystemMock);

                Assert.IsTrue(check.IsSatisfiedBy(reference));
            }