Create a MailcapCommandMap instance, use it to call addMailcap() method with
string parameters, verify the add values, if it successfully completes this
operation then this test passes otherwise it fails.
Create an instance of MimetypesFileTypeMap then call addMimeTypes() method
with mimetype string, if this operation is successfull then this test passes,
otherwise it fails.