public void BasicCache( CacheItem sut ) { Assert.Equal( 1, sut.Count ); sut.Up(); Assert.Equal( 2, sut.Count ); sut.Up(); Assert.Equal( 2, sut.Count ); sut.UpWith( 2 ); Assert.Equal( 4, sut.Count ); sut.UpWith( 2 ); Assert.Equal( 4, sut.Count ); sut.UpWith( 3 ); Assert.Equal( 7, sut.Count ); sut.UpWith( 3 ); Assert.Equal( 7, sut.Count ); }