It would be helpful to know in what way the test fails, or more information about listOfKeys or the return value of GetListOfRowKeysFromCF at assert time, or for that matter what GetListOfRowKeysFromCF is, or the insertion code.
Also, does Is.EquivalentTo compare object equality on the items inside the collection? If so, that would be a problem. On Tue, May 25, 2010 at 8:40 AM, Sandeep <sand...@indatus.com> wrote: > Assert.AreEqual(listOfKeys, Is > .EquivalentTo(TestService.GetListOfRowKeysFromCF("ColumnFamilyName", > "Keyspace1"))); > > > > TestService.GetListOfRowKeysFromCF() returns a List<Keyslices>. > I am constructing the same list<Keyslices> in the same order in which I have > inserted in some other method. > > > > But the test always fails. Can any one please tell me where am > I going wrong. Timestamp value is a global variable and is used through out > the class. > > > > Thanks in advance. >