| Class | MathTests | Undocumented | 
| Function | selectDialect | Dictate a Banana dialect to use. | 
| Function | encode | Banana encode an object using banana.Banana.sendEncoded. | 
| Class | BananaTestBase | The base for test classes. It defines commonly used things and sets up a connection for testing. | 
| Class | BananaTests | General banana tests. | 
| Class | DialectTests | Tests for Banana's handling of dialects. | 
| Class | GlobalCoderTests | Tests for the free functions banana.encodeandbanana.decode. | 
Dictate a Banana dialect to use.
| Parameters | protocol | A banana.Bananainstance which has not yet had a dialect negotiated. | 
| dialect | A bytesinstance naming a Banana dialect to select. | 
Banana encode an object using banana.Banana.sendEncoded.
| Parameters | bananaFactory | A no-argument callable which will return a new, unconnected protocol 
instance to use to do the encoding (this should most likely be a banana.Bananainstance). | 
| obj | The object to encode. (type: Any type supported by Banana.) | |
| Returns | A bytesinstance giving the encoded form ofobj. | |