@@ -50,7 +50,7 @@ public void TestMetricsTLru()
5050 . Build ( ) ;
5151
5252 lru . Should ( ) . BeOfType < ConcurrentTLru < int , int > > ( ) ;
53- lru . Capacity . Should ( ) . Be ( 128 ) ;
53+ lru . Policy . Eviction . Capacity . Should ( ) . Be ( 128 ) ;
5454 }
5555
5656 [ Fact ]
@@ -128,7 +128,7 @@ public void TestIntCapacity()
128128 . WithCapacity ( 3 )
129129 . Build ( ) ;
130130
131- lru . Capacity . Should ( ) . Be ( 3 ) ;
131+ lru . Policy . Eviction . Capacity . Should ( ) . Be ( 3 ) ;
132132 }
133133
134134 [ Fact ]
@@ -138,7 +138,7 @@ public void TestPartitionCapacity()
138138 . WithCapacity ( new FavorWarmPartition ( 6 ) )
139139 . Build ( ) ;
140140
141- lru . Capacity . Should ( ) . Be ( 6 ) ;
141+ lru . Policy . Eviction . Capacity . Should ( ) . Be ( 6 ) ;
142142 }
143143
144144 // There are 15 combinations to test:
@@ -201,7 +201,7 @@ public void WithScopedValues()
201201 . Build ( ) ;
202202
203203 lru . Should ( ) . BeOfType < ScopedCache < int , Disposable > > ( ) ;
204- lru . Capacity . Should ( ) . Be ( 3 ) ;
204+ lru . Policy . Eviction . Capacity . Should ( ) . Be ( 3 ) ;
205205 }
206206
207207 // 2
@@ -239,7 +239,7 @@ public void WithAtomicWithScope()
239239 . Build ( ) ;
240240
241241 lru . Should ( ) . BeOfType < AtomicFactoryScopedCache < int , Disposable > > ( ) ;
242- lru . Capacity . Should ( ) . Be ( 3 ) ;
242+ lru . Policy . Eviction . Capacity . Should ( ) . Be ( 3 ) ;
243243 }
244244
245245 // 5
@@ -253,7 +253,7 @@ public void WithScopedWithAtomic()
253253 . Build ( ) ;
254254
255255 lru . Should ( ) . BeOfType < AtomicFactoryScopedCache < int , Disposable > > ( ) ;
256- lru . Capacity . Should ( ) . Be ( 3 ) ;
256+ lru . Policy . Eviction . Capacity . Should ( ) . Be ( 3 ) ;
257257 }
258258
259259 // 6
0 commit comments