If the problem is not in how you're checking the result, then it should all works and it's not possible to say what's wrong. Please debug the method, it will at least tell you whether the value gets there, i.e. whether something failed before or after the method.
↧