Would you mind writing a test for this method?