-package org.opendaylight.controller.cluster.common.actor;
-
-import org.junit.Test;
-import scala.concurrent.duration.FiniteDuration;
+/*
+ * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
-import java.util.concurrent.TimeUnit;
+package org.opendaylight.controller.cluster.common.actor;
-import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
+import java.util.concurrent.TimeUnit;
+import org.junit.Test;
+import scala.concurrent.duration.FiniteDuration;
+
public class CommonConfigTest {
@Test
- public void testCommonConfigDefaults(){
+ public void testCommonConfigDefaults() {
CommonConfig config = new CommonConfig.Builder<>("testsystem").build();
assertNotNull(config.getActorSystemName());
}
@Test
- public void testCommonConfigOverride(){
+ public void testCommonConfigOverride() {
int expectedCapacity = 123;
String timeoutValue = "1000ms";
assertTrue(config.isMetricCaptureEnabled());
}
-}
\ No newline at end of file
+}