Beispiel #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void doNotProxyIfUpdateIntervalIsZero()
        public virtual void DoNotProxyIfUpdateIntervalIsZero()
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final TestBean result = ThrottlingBeanSnapshotProxy.newThrottlingBeanSnapshotProxy(TestBean.class, target, 0, clock);
            TestBean result = ThrottlingBeanSnapshotProxy.NewThrottlingBeanSnapshotProxy(typeof(TestBean), _target, 0, _clock);

            assertSame(_target, result);
        }
Beispiel #2
0
 private void InitializeInstanceFields()
 {
     _proxy = ThrottlingBeanSnapshotProxy.NewThrottlingBeanSnapshotProxy(typeof(TestBean), _target, 100, _clock);
 }