public class ServerVersionExceptionTest extends Object
ServerVersionException
class.Constructor and Description |
---|
ServerVersionExceptionTest() |
Modifier and Type | Method and Description |
---|---|
void |
testSerialization()
Test method for
MongoClientConfiguration serialization. |
void |
testServerVersionException()
|
void |
testServerVersionNotInRange()
|
void |
testServerVersionToOld()
|
public void testSerialization() throws IOException, ClassNotFoundException
MongoClientConfiguration
serialization.IOException
- On a failure reading or writing the config.ClassNotFoundException
- On a failure reading the config.public void testServerVersionException()
public void testServerVersionNotInRange()
public void testServerVersionToOld()
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.