tests for bill and attachment transformers.

This commit is contained in:
James Cole
2018-02-16 22:47:08 +01:00
parent 9cc1bfb4b5
commit 78ba0f749c
4 changed files with 230 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ class AttachmentTransformer extends TransformerAbstract
/**
* BillTransformer constructor.
*
* @codeCoverageIgnore
*
* @param ParameterBag $parameters
*/
public function __construct(ParameterBag $parameters)
@@ -61,6 +63,10 @@ class AttachmentTransformer extends TransformerAbstract
}
/**
* Attach the user.
*
* @codeCoverageIgnore
*
* @param Attachment $attachment
*
* @return Item
@@ -71,6 +77,8 @@ class AttachmentTransformer extends TransformerAbstract
}
/**
* Transform attachment.
*
* @param Attachment $attachment
*
* @return array