예제 #1
0
            public void Exact_match_on_last_segment_from_a_DB_of_one()
            {
                dbMock.Setup(x => x.Records).Returns(new[]
                {
                    new Record(@"FS::C:\Users\tkellogg", 10M),
                });

                var record = controller.FindBest("tkellogg");

                record.Path.ShouldEqual(@"C:\Users\tkellogg");
            }