1..18
# ->wrapMethod()
ok 1 - ->wrapMethod() does nothing if the method does not exist.
ok 2 - ->wrapMethod() adds code before the beginning of a method.
ok 3 - ->wrapMethod() adds code after the end of a method.
ok 4 - ->wrapMethod() adds code to the previously manipulated code.
# ->getCode()
ok 5 - ->getCode() returns the source code when no manipulations has been done
ok 6 - ->getCode() returns the modified code
# ->setFile() ->getFile()
ok 7 - ->setFile() sets the name of the file associated with the source code
# ::fromFile()
ok 8 - ::fromFile() sets the file internally
# ->save()
ok 9 - ->save() saves the modified code if a file is associated with the instance
# ->filterMethod()
# CRLF
ok 10 - ->filterMethod() does not change the code if the filter does nothing
ok 11 - ->filterMethod() filters each line of the method
ok 12 - ->filterMethod() modifies the method
# LF
ok 13 - ->filterMethod() does not change the code if the filter does nothing
ok 14 - ->filterMethod() filters each line of the method
ok 15 - ->filterMethod() modifies the method
# no EOL
ok 16 - ->filterMethod() works when there are no line breaks
ok 17 - ->filterMethod() works when there are no line breaks
# mixed EOL
ok 18 - ->filterMethod() filters each line of a mixed EOL-style method
# Looks like everything went fine.