Fixed vroke test case

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@510991 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-02-23 15:51:23 +00:00
parent f7e9206ae5
commit 9e14f67b40
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,6 @@
*/
package org.apache.activemq.management;
import org.apache.activemq.management.CountStatisticImpl;
public class CountStatisticTest extends StatisticTestSupport {
@ -30,6 +29,7 @@ public class CountStatisticTest extends StatisticTestSupport {
*/
public void testStatistic() throws Exception {
CountStatisticImpl stat = new CountStatisticImpl("myCounter", "seconds", "myDescription");
stat.setEnabled(true);
assertStatistic(stat, "myCounter", "seconds", "myDescription");
assertEquals(0, stat.getCount());