public void should_add_multiple_and_get_all_metadata() { var metadata1 = new SomeMetadata(); var metadata2 = new SomeMetadata(); var results = new Metadata().Add(metadata1).Add(metadata2).GetAll<SomeMetadata>(); results.ShouldTotal(2); results.ShouldContain(metadata1); results.ShouldContain(metadata2); }
public void should_add_multiple_and_get_all_metadata() { var metadata1 = new SomeMetadata(); var metadata2 = new SomeMetadata(); var results = new Metadata().Add(metadata1).Add(metadata2).GetAll <SomeMetadata>(); results.ShouldTotal(2); results.ShouldContain(metadata1); results.ShouldContain(metadata2); }
public void should_add_and_get_metadata() { var metadata = new SomeMetadata(); new Metadata().Add(metadata).Get<SomeMetadata>().ShouldBeSameAs(metadata); }
public void should_add_and_indicate_that_metadata_exists() { var metadata = new SomeMetadata(); new Metadata().Add(metadata).Contains<SomeMetadata>().ShouldBeTrue(); }
public void should_add_and_get_metadata() { var metadata = new SomeMetadata(); new Metadata().Add(metadata).Get <SomeMetadata>().ShouldBeSameAs(metadata); }
public void should_add_and_indicate_that_metadata_exists() { var metadata = new SomeMetadata(); new Metadata().Add(metadata).Contains <SomeMetadata>().ShouldBeTrue(); }