1 /*2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.3 */4 package com.tc.net.protocol.transport;5 6 import junit.framework.TestCase;7 8 public class ConnectionPolicyTest extends TestCase {9 private ConnectionPolicy policy;10 11 public void tests() throws Exception {12 policy = new ConnectionPolicyImpl(1);13 14 policy.clientConnected();15 assertFalse(policy.maxConnectionsExceeded());16 }17 }18