com.r3corda.contracts.testing / JavaTestHelpers

# JavaTestHelpers

`object JavaTestHelpers`

### Functions

CASH | `fun CASH(amount: Amount<Currency>): State`
OBLIGATION | `fun OBLIGATION(amount: Amount<Issued<Currency>>): State<Currency>`
OBLIGATION_DEF | `fun OBLIGATION_DEF(issued: Issued<Currency>): StateTemplate<Currency>`
STATE | `fun STATE(amount: Amount<Issued<Currency>>): State`
at | `fun <T> at(state: State<T>, dueBefore: Instant): State<T>` `fun <T> at(issuanceDef: IssuanceDefinition<T>, dueBefore: Instant): IssuanceDefinition<T>`
between | `fun <T> between(state: State<T>, parties: <ERROR CLASS><Party, PublicKey>): State<T>`
issuedBy | `fun issuedBy(state: State, party: Party): State` `fun issuedBy(state: State, deposit: PartyAndReference): State` `fun <T> issuedBy(state: State<T>, party: Party): State<T>`
ownedBy | `fun ownedBy(state: State, owner: PublicKey): State` `fun <T> ownedBy(state: State<T>, owner: PublicKey): State<T>` `fun ownedBy(state: State, owner: PublicKey): State` `fun ownedBy(state: <ERROR CLASS>, new_owner: PublicKey): <ERROR CLASS>`
withDeposit | `fun withDeposit(state: State, deposit: PartyAndReference): State`
withNotary | `fun withNotary(state: State, notary: Party): TransactionState<State>` `fun withNotary(state: State, notary: Party): TransactionState<State>` `fun withNotary(state: ContractState, notary: Party): TransactionState<ContractState>`