public class BasicTypesJsonTest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicTypesJsonTest.MyEnum |
| Modifier and Type | Field and Description |
|---|---|
protected JsonEntityEncoding |
encoding |
| Constructor and Description |
|---|
BasicTypesJsonTest() |
protected JsonEntityEncoding encoding
public void requiredPropertyIsDecoded()
throws Exception
Exceptionpublic void errorIfRequiredPropertyIsOmitted()
throws Exception
Exceptionpublic void requiredPropertyIsEncoded()
throws Exception
Exceptionpublic void optionalPropertyIsDecoded()
throws Exception
Exceptionpublic void optionalPropertyCanBeOmitted()
throws Exception
Exceptionpublic void optionalPropertyIsEncodedIfSome()
throws Exception
Exceptionpublic void optionalPropertyIsNotEncodedIfNone()
throws Exception
Exceptionpublic void errorIfEnumPropertyIsUnknownValue()
throws Exception
Exceptionpublic void htmlStringPropertyIsDecoded()
throws Exception
Exceptionpublic void htmlStringPropertyIsEncoded()
throws Exception
Exceptionpublic void readOnlyPropertyIsDecoded()
throws Exception
Exceptionpublic void readOnlyPropertyCanBeEncoded()
throws Exception
Exceptionpublic void readOnlyPropertyCanBeOmitted()
throws Exception
Exceptionprotected void causeShouldBe(MpacException.InvalidResponseError e, Class<? extends SchemaViolation> cause, com.atlassian.fugue.Option<String> message)
Copyright © 2016 Atlassian. All rights reserved.